package com.cloud.service2.Interface;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-service-1", url = "http://localhost:9000")
@RequestMapping("/service1")
public interface Service1 {
    @GetMapping("/echo")
    public String echo();
}
